package com.web3.management.repository;

import com.web3.management.entity.OperationLog;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OperationLogRepository extends JpaRepository<OperationLog, Integer> {

    List<OperationLog> findByOrderByCreatedAtDesc(Pageable pageable);
}
